<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:osms="http://java.sun.com/jsf/composite/osms">
	  
	  <ui:composition template="../template.xhtml">
	 	 <ui:define name="contents">
	  
	  		<osms:product caption="New Product" 
					  	  panel="#{newProduct.panel}" 
					  	  disabled="#{newProduct.entitySaved}">
					  	  
				<f:facet name="commands">
					<h:commandButton action="#{newProduct.saveEntity}" 
									 disabled="#{newProduct.entitySaved}"
									 value="Save" 
									 class="btn btn-primary"/>
				</f:facet>		  	  
	  		
	  		</osms:product>
	  
	  	</ui:define>
	  </ui:composition>
	  
</html>